package com.weyoung.common.model.vo.app;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel(description = "族谱节点返回数据")
public class RelationNodeVO {

    @ApiModelProperty("关系节点ID")
    private Long relationId;

    @ApiModelProperty("用户ID")
    private Long userId;

    @ApiModelProperty("用户姓名")
    private String userName;

    @ApiModelProperty("用户头像")
    private String userAvatar;

    @ApiModelProperty("配偶ID")
    private Long spouseId;

    @ApiModelProperty("配偶姓名")
    private String spouseName;

    @ApiModelProperty("配偶头像")
    private String spouseAvatar;

    @ApiModelProperty("父节点ID")
    private Long parentRelationId;

    @ApiModelProperty("辈分")
    private Integer generation;

    @ApiModelProperty("备注")
    private String remarks;

    @ApiModelProperty("子节点列表")
    private List<RelationNodeVO> children;
} 